package cn.lili.controller.feign.wallet;

import cn.lili.common.security.enums.SceneEnums;
import cn.lili.modules.payment.client.WalletClient;
import cn.lili.modules.payment.entity.dto.PaymentCallback;
import cn.lili.modules.payment.entity.dto.UserWalletUpdateDTO;
import cn.lili.modules.payment.entity.vo.WalletVO;
import cn.lili.modules.wallet.service.WalletService;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.RestController;

/**
 * 会员钱包 feign client
 *
 * @author Chopper
 * @version v1.0 2021-11-17 18:06
 */
@RestController
@RequiredArgsConstructor
public class WalletFeignController implements WalletClient {

    private final WalletService walletService;

    @Override
    public WalletVO getMemberWallet(String memberId) {
        return walletService.getWalletVO(memberId);
    }

}
